FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER xx@gmail.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /sc-tx-manager

WORKDIR /sc-tx-manager

EXPOSE 5004
EXPOSE 9998

ADD ./sc-module/sc-tx-manager/target/sc-tx-manager.jar ./

CMD sleep 30;java -Djava.security.egd=file:/dev/./urandom -jar sc-tx-manager.jar
